home *** CD-ROM | disk | FTP | other *** search
/ Amiga Tools 3 / Amiga Tools 3.iso / grafik / raytracing / rayshade-4.0.6.3 / fixes / fix024 / libray / libobj / allocmatrix.h < prev    next >
Encoding:
C/C++ Source or Header  |  1994-08-09  |  332 b   |  17 lines

  1. /*
  2.  * Matrix allocation and freeing Functions.
  3.  *
  4.  * allocmatrix.h
  5.  *
  6.  * Peter Janssen - janssen@cs.kuleuven.ac.be
  7.  *
  8.  */
  9.  
  10. extern void **allocMatrix();
  11. extern void freeMatrix();
  12.  
  13.  
  14. #define AllocMatrix(object, y, x)   \
  15.     ((object **) allocMatrix(sizeof(object), y, x))
  16. #define FreeMatrix(matrix, y) freeMatrix((void **) matrix, y)
  17.